raar.register
Class RARealPointer

java.lang.Object
  extended by raar.register.RARealPointer
All Implemented Interfaces:
java.io.Serializable, RAAssignable, RAEqualityComparable, RAFullComparable, RAMathObject, RAAllowed, RAAllowedEverywhere, RAAllowedInList, RAAllowedInType, RAPointer

public class RARealPointer
extends java.lang.Object
implements RAPointer, RAAssignable, RAMathObject, RAAllowedEverywhere

See Also:
Serialized Form

Constructor Summary
RARealPointer(java.lang.String registerLocation, RARegister register)
           
 
Method Summary
 boolean canContain(RAAllowed other)
           
 double dValue()
           
 boolean equals(RAEqualityComparable r)
           
 boolean larger(RAFullComparable r)
          Returns true if this real is larger than r, given the specific tolerance in the config file.
 boolean largerEquals(RAFullComparable r)
          Returns true if this real is larger than r or equals, given the specific tolerance in the config file.
 RAAllowed makeClone()
           
 boolean smaller(RAFullComparable r)
          Returns true if this real is smaller than r, given the specific tolerance in the config file.
 boolean smallerEquals(RAFullComparable r)
          Returns true if this real is smaller than r or equals r, given the specific tolerance in the config file.
 java.lang.String toString()
           
 RADataType value()
          Vraag de waarde op van de klasse.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RARealPointer

public RARealPointer(java.lang.String registerLocation,
                     RARegister register)
Method Detail

value

public RADataType value()
                 throws RAException
Description copied from interface: RAMathObject
Vraag de waarde op van de klasse.

Specified by:
value in interface RAAssignable
Specified by:
value in interface RAMathObject
Specified by:
value in interface RAPointer
Returns:
De waarde (RADataType)
Throws:
RAException

dValue

public double dValue()
              throws RAException
Throws:
RAException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

makeClone

public RAAllowed makeClone()
                    throws RAException
Specified by:
makeClone in interface RAAllowed
Throws:
RAException

equals

public boolean equals(RAEqualityComparable r)
               throws RAException
Specified by:
equals in interface RAEqualityComparable
Throws:
RAException

larger

public boolean larger(RAFullComparable r)
               throws RAException
Returns true if this real is larger than r, given the specific tolerance in the config file.

Specified by:
larger in interface RAFullComparable
Parameters:
r - Another real bites the dust
Returns:
true or false, see above.
Throws:
RAException

smaller

public boolean smaller(RAFullComparable r)
                throws RAException
Returns true if this real is smaller than r, given the specific tolerance in the config file.

Specified by:
smaller in interface RAFullComparable
Parameters:
r - Another real bites the dust
Returns:
true or false, see above.
Throws:
RAException

largerEquals

public boolean largerEquals(RAFullComparable r)
                     throws RAException
Returns true if this real is larger than r or equals, given the specific tolerance in the config file.

Specified by:
largerEquals in interface RAFullComparable
Parameters:
r - Another real bites the dust
Returns:
true or false, see above.
Throws:
RAException

smallerEquals

public boolean smallerEquals(RAFullComparable r)
                      throws RAException
Returns true if this real is smaller than r or equals r, given the specific tolerance in the config file.

Specified by:
smallerEquals in interface RAFullComparable
Parameters:
r - Another real bites the dust
Returns:
true or false, see above.
Throws:
RAException

canContain

public boolean canContain(RAAllowed other)
Specified by:
canContain in interface RAAllowed